function tbEditFFTROI_Callback(tb, e)
%TBEDITFFTROI_CALLBACK Summary of this function goes here
%   Detailed explanation goes here

IsChecked= get(tb, 'value');

if IsChecked
    tbEditFFTROI_Checked(tb, e)
else
    tbEditFFTROI_Unchecked(tb, e)
    
    h = findobj('tag', 'uifftview', 'type', 'image');
    ax= get(h, 'parent');
    delete(h);
    
    uifftview_MakeImage( ax );
end

end

